//
//  RightTableViewCell.m
//  MyProject
//
//  Created by yun on 2018/8/14.
//  Copyright © 2018年 yun. All rights reserved.
//

#import "RightTableViewCell.h"

@interface RightTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imgV;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *price;


@end

@implementation RightTableViewCell

- (void)setupInfoWithModel:(GoodsDetailsModel *)model{
    [_imgV sd_setImageWithURL:[NSURL URLWithString:model.picture] placeholderImage:nil];
    _nameLabel.text = model.name;
    _price.text = [NSString stringWithFormat:@"￥%.1f",model.min_price];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
